package com.woniuxy.admin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author ...
 * @since 2024年05月22日
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("admin_account")
public class AdminAccount implements Serializable {

    private static final long serialVersionUID = 1L;
    /**
     * 账号id
     */
    @TableId(value = "account_id", type = IdType.AUTO)
    private Integer accountId;
    /**
     * 账户名
     */
    @TableField("admin_name")
    private String adminName;

    /**
     * 密码
     */
    @TableField("admin_pass")
    private String adminPass;
    /**
     * 手机号
     */
    @TableField("admin_phone")
    private String adminPhone;
    /**
     * 状态
     */
    @TableField("state")
    private Integer state;


}
